package com.gy.springboot.entity;

import java.io.Serializable;

public class Department implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    // `id` int(11) NOT NULL AUTO_INCREMENT,
    // `department_name` varchar(255) DEFAULT NULL,
    private Integer id;
    private String departmentName;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getDepartmentName() {
        return departmentName;
    }
    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Department [id=");
        builder.append(id);
        builder.append(", departmentName=");
        builder.append(departmentName);
        builder.append("]");
        return builder.toString();
    }
    public Department(Integer id, String departmentName) {
        super();
        this.id = id;
        this.departmentName = departmentName;
    }
    public Department() {
        super();
    }

}
